package com.jmectf.net;

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.Socket;
import java.util.LinkedList;

import com.jme.math.Vector3f;

public class PlayerData implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private LinkedList<Socket> connections;
	private LinkedList<ObjectInputStream> inputStreams;
	private LinkedList<ObjectOutputStream> outputStreams;
	private LinkedList<Vector3f> positions;
	
	/**
	 * @param connections
	 * @param inputStreams
	 * @param outputStreams
	 * @param positions
	 */
	public PlayerData() {
		super();
		connections = new LinkedList<Socket>();
		inputStreams = new LinkedList<ObjectInputStream>();
		outputStreams = new LinkedList<ObjectOutputStream>();
		positions = new LinkedList<Vector3f>();
	}

	/**
	 * @return the connections
	 */
	public LinkedList<Socket> getConnections() {
		return connections;
	}
	
	/**
	 * @param connections the connections to set
	 */
	public void setConnections(LinkedList<Socket> connections) {
		this.connections = connections;
	}
	
	/**
	 * @return the inputStreams
	 */
	public LinkedList<ObjectInputStream> getInputStreams() {
		return inputStreams;
	}
	
	/**
	 * @param inputStreams the inputStreams to set
	 */
	public void setInputStreams(LinkedList<ObjectInputStream> inputStreams) {
		this.inputStreams = inputStreams;
	}
	
	/**
	 * @return the outputStreams
	 */
	public LinkedList<ObjectOutputStream> getOutputStreams() {
		return outputStreams;
	}
	
	/**
	 * @param outputStreams the outputStreams to set
	 */
	public void setOutputStreams(LinkedList<ObjectOutputStream> outputStreams) {
		this.outputStreams = outputStreams;
	}
	
	/**
	 * @return the positions
	 */
	public LinkedList<Vector3f> getPositions() {
		return positions;
	}
	
	/**
	 * @param positions the positions to set
	 */
	public void setPositions(LinkedList<Vector3f> positions) {
		this.positions = positions;
	}
	
}
